home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Rainmeter
/
rainmeter-0.11.exe
/
New York.ini
< prev
next >
Wrap
INI File
|
2004-07-10
|
6KB
|
309 lines
;
; Rainmeter configuration file
;
; Change the URL in [Variables] to match your location.
;
[Variables]
URL=http://www.rssweather.com/hw3.php?pands=new%20york,ny
HideAll=[!RainmeterHideMeter MeterHumidity][!RainmeterHideMeter MeterWindSpeed][!RainmeterHideMeter MeterPressure][!RainmeterHideMeter MeterDewPoint][!RainmeterHideMeter MeterHeatIndex][!RainmeterHideMeter MeterWindChill][!RainmeterHideMeter MeterVisibility]
[Rainmeter]
Background=bg.png
Author=Rainy (rainy@iki.fi)
Update=1000
AppVersion=1001
;
; Measures
;
[MeasureWeather]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=#URL#
RegExp="(?siU)<h1>(.*)</h1>(.*)fcicons/(.*).gif(.*)<span class=\"temp\">(.*)</span>(.*)humidity" style="display: inline;">(.*)</dd>(.*)windspeed" style="display: inline;">((.*)</dd>(.*)winddir" style="display: inline;">(.*) \((.*)°\)</dd>|Calm</dd>||VRB </dd>)(.*)pressure" style="display: inline;">(.*)</dd>(.*)dewpoint" style="display: inline;">(.*)</dd>(.*)heatindex" style="display: inline;">(.*)</dd>(.*)windchill" style="display: inline;">(.*)</dd>(.*)visibility" style="display: inline;">(.*)</dd>"
StringIndex=1
;Debug=1
[MeasureIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=3
[MeasureTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=5
Substitute="°":"░"
[MeasureHumidity]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=7
[MeasureWindSpeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=10
[MeasurePressure]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=15
[MeasureDewPoint]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=17
Substitute="°":"░"
[MeasureHeatIndex]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=19
Substitute="°":"░"
[MeasureWindChill]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=21
Substitute="°":"░"
[MeasureVisibility]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=23
[MeasureWindDir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=13
; There is a bug in Rainmeter 0.10 and the MaxValue of the WebParser is always 1.
; So we need to use the Calc-measure to scale the value between 0...1.
[MeasureWindDirCalc]
Measure=Calc
Formula=MeasureWindDir/360
;
; These measures cycle the information under the temperature. The idea here is
; that the Counter will increase by on one every update-cycle, so we'll just take
; a remainder of 70 from the value (there are 7 different items) so that we get
; values from 0 to 69. Then just hide all and show one of them every time the
; value grows larger than a certain number (the actions are executed only when
; the bypasses the value).
[MeasureCycle1]
Measure=Calc
Formula=Counter % 70
IfAboveValue=5
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterHumidity]
[MeasureCycle2]
Measure=Calc
Formula=Counter % 70
IfAboveValue=15
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterWindSpeed]
[MeasureCycle3]
Measure=Calc
Formula=Counter % 70
IfAboveValue=25
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterPressure]
[MeasureCycle4]
Measure=Calc
Formula=Counter % 70
IfAboveValue=35
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterDewPoint]
[MeasureCycle5]
Measure=Calc
Formula=Counter % 70
IfAboveValue=45
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterHeatIndex]
[MeasureCycle6]
Measure=Calc
Formula=Counter % 70
IfAboveValue=55
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterWindChill]
[MeasureCycle7]
Measure=Calc
Formula=Counter % 70
IfAboveValue=65
IfAboveAction=!execute #HideAll#[!RainmeterShowMeter MeterVisibility]
;
; Meters
;
[MeterTitle]
MeasureName=MeasureWeather
Meter=STRING
X=95
Y=65
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=CENTER
FontFace=Arial
Antialias=1
[MeterIcon]
MeasureName=MeasureIcon
Meter=IMAGE
X=15
Y=10
LeftMouseDownAction=!execute [!RainmeterHideMeter MeterIcon][!RainmeterShowMeter MeterWindDir1][!RainmeterShowMeter MeterWindDir2][!RainmeterRedraw]
[MeterWindDir1]
Meter=IMAGE
X=15
Y=10
ImageName=nesw.png
LeftMouseDownAction=!execute [!RainmeterHideMeter MeterWindDir1][!RainmeterHideMeter MeterWindDir2][!RainmeterShowMeter MeterIcon][!RainmeterRedraw]
Hidden=1
[MeterWindDir2]
MeasureName=MeasureWindDirCalc
Meter=ROTATOR
X=15
Y=10
W=64
H=64
ImageName=arrow.png
StartAngle=4.7124
OffsetY=7
Hidden=1
[MeterTemp]
MeasureName=MeasureTemp
Meter=STRING
X=170
Y=15
FontColor=0, 0, 0
StringStyle=BOLD
FontSize=24
StringAlign=RIGHT
FontFace=Arial
Antialias=1
[MeterHumidity]
MeasureName=MeasureHumidity
Meter=STRING
X=170
Y=50
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Humidity: "
Antialias=1
Hidden=0
[MeterWindSpeed]
MeasureName=MeasureWindSpeed
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Wind Speed: "
Antialias=1
Hidden=1
[MeterPressure]
MeasureName=MeasurePressure
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Pressure: "
Antialias=1
Hidden=1
[MeterDewPoint]
MeasureName=MeasureDewPoint
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Dew Point: "
Antialias=1
Hidden=1
[MeterHeatIndex]
MeasureName=MeasureHeatIndex
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Heat Index: "
Antialias=1
Hidden=1
[MeterWindChill]
MeasureName=MeasureWindChill
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Wind Chill: "
Antialias=1
Hidden=1
[MeterVisibility]
MeasureName=MeasureVisibility
Meter=STRING
X=0r
Y=0r
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
Prefix="Visibility: "
Antialias=1
Hidden=1
[MeterShine]
Meter=IMAGE
X=0
Y=0
ImageName=shine.png